#include <windows.h>
#include <stdio.h>
	
void usage(char ** argv)
{
	fprintf(stderr, "Usage: %s <command>\n", argv[0]);
}

int main(int argc, char ** argv)
{
	STARTUPINFO si;
	PROCESS_INFORMATION pi;

	if ( argc != 2) {
		usage(argv);
		return 1;
	}

	ZeroMemory(&si,sizeof(si));
	si.dwFlags   = STARTF_USESHOWWINDOW;
	si.wShowWindow = SW_HIDE;

	CreateProcess(NULL,
	argv[1],
	NULL,
	NULL,
	FALSE,
	NORMAL_PRIORITY_CLASS | CREATE_NO_WINDOW,
	NULL,
	NULL,
	&si,
	&pi);
	return 0;
}